Skip to content

Conversation

@denischilik
Copy link
Contributor

@denischilik denischilik commented Sep 15, 2025

This is the 3 PR in the series aimed at improving the test coverage of mParticle.m. The first PR is #407

Summary

  • add more tests

Testing Plan

  • Was this tested locally? If not, explain why.
  • {explain how this has been tested, and what, if any, additional testing should be done}

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@denischilik denischilik requested a review from a team as a code owner September 15, 2025 13:27
Copy link
Contributor

@nickolas-dimitrakas nickolas-dimitrakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this all looks great. The only worrying thing is these static methods were public and put to use in the kits. Can you confirm no other kits were updated to use this static method? I'll make another PR to the rokt kit to not utilize this code. (Thankfully it hasn't been released yet)

Copy link
Collaborator

@BrandonStalnaker BrandonStalnaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code removed from the MPRokt kit and judging by my search it is not used elsewhere https://github.com/search?q=org%3Amparticle-integrations+mplog&type=code

@denischilik denischilik merged commit 72a111c into development Sep 17, 2025
30 of 40 checks passed
@denischilik denischilik deleted the feat/SDKE-64-improve-MParticle-m-Test-Coverage-in-Swift-3 branch September 17, 2025 18:04
mparticle-automation added a commit that referenced this pull request Sep 18, 2025
# [8.39.0](v8.38.0...v8.39.0) (2025-09-18)

### Bug Fixes

* Update Hashed Email Logic With Unassigned ([#401](#401)) ([c50b101](c50b101))

### Features

* SDKE-119 Create protocols for testability ([#402](#402)) ([12b636e](12b636e))
* SDKE-119 Create protocols for testability. Part 2 ([#403](#403)) ([6401e0c](6401e0c))
* SDKE-119 Create protocols for testability. Part 3 ([#404](#404)) ([9032458](9032458))
* SDKE-61 Extract and test callback logic. Part 1 ([#395](#395)) ([c3a7da9](c3a7da9))
* SDKE-61 Extract and test callback logic. Part 2 ([#396](#396)) ([2fb2490](2fb2490))
* SDKE-61 Extract and test callback logic. Part 3 ([#397](#397)) ([b6cd236](b6cd236))
* SDKE-61 Extract and test callback logic. Part 4 ([#398](#398)) ([3cf3c88](3cf3c88))
* SDKE-62 Refactor MPListenerController for Testability ([#400](#400)) ([cc843a5](cc843a5))
* SDKE-63-replace-logging-macros-with-swift-helpers ([#405](#405)) ([0ca4964](0ca4964))
* SDKE-64 Improve mParticle.m test coverage in swift ([#406](#406)) ([d4ef623](d4ef623))
* SDKE-64 Improve mParticle.m test coverage in swift 2 ([#407](#407)) ([b8d67ec](b8d67ec))
* SDKE-64 Improve mParticle.m test coverage in swift 3 ([#410](#410)) ([72a111c](72a111c))
@mparticle-automation
Copy link
Contributor

🎉 This PR is included in version 8.39.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants